<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>编辑类别_房源管理_{$webname}_后台管理</title>
	<link rel="stylesheet" href="/static/css/bootstrap.min.css?t=<?php echo time();?>">
	<link rel="stylesheet" href="/static/css/admin.css?t=<?php echo time();?>">
	<script src="/static/js/jquery-3.2.1.min.js"></script>
	<script src="/static/js/jquery.validate.min.js"></script>
	<script src="/static/js/cate.js?t=<?php echo time();?>"></script>
</head>

<body>
{include file="common/topbar" /}
<div class="left">
{include file="common/menu" /}
</div>
<div class="right">
	<div class="main">
		<div class="where">
			当前位置：
			<a href="{:url('index/index')}"><span class="glyphicon glyphicon-home"></span>后台首页</a>
			&gt;&gt;
			房源管理
			&gt;&gt;
			编辑类别
		</div>
		<div class="form">
			<form action="{:url('savecate')}" class="form-horizontal" name="cate" id="cate" method="post">
				<input type="hidden" name="id" value="{$info.id}">
			  <div class="form-group">
			    <label for="inputPassword" class="col-sm-2 control-label">房源类别</label>
			    <div class="col-sm-10">			      
					<select class="form-control" name="pid" id="pid">
					  <option value="">选择类别</option>
					  {$option}
					</select>
			    </div>
			  </div>
			  <div class="form-group">
			    <label class="col-sm-2 control-label">类别名称</label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" name="catename" id="catename" placeholder="类别名称" value="{$info.catename}">
			    </div>
			  </div>
			  <div class="form-group">
			    <label class="col-sm-2 control-label"></label>
			  	<input type="submit" class="btn btn-primary pull-right" value="确定更新">
			  </div>
			</form>
		</div>
	</div>
</div>
<div class="clear"></div>
</body>
</html>